package com.yntx.usercenter.base.converter;

import com.yntx.usercenter.base.dto.SystemDTO;
import com.yntx.usercenter.base.dto.SystemUpdateDTO;
import com.yntx.usercenter.base.po.System;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 角色转换
 *
 * @author jielihaofeng
 * @date 2023/05/08
 */
@Mapper
public interface SystemConverter {

    SystemConverter INSTANCE = Mappers.getMapper(SystemConverter.class);

    System systemDTO2System(SystemDTO dto);

    System systemUpdateDTO2System(SystemUpdateDTO dto);

}
